package cn.fuxue.hrms.service.impl;

import cn.fuxue.hrms.common.base.AbstractService;
import cn.fuxue.hrms.common.dto.RecruitInfoShow;
import cn.fuxue.hrms.common.entity.RecruitInfo;
import cn.fuxue.hrms.mapper.RecruitInfoMapper;
import cn.fuxue.hrms.service.RecruitInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class RecruitInfoServiceImpl extends AbstractService<RecruitInfo,Integer> implements RecruitInfoService {

    @Autowired
    private RecruitInfoMapper recruitInfoMapper;

    @Override
    public List<RecruitInfoShow> findAll(String likename) {
        return recruitInfoMapper.findRecruitInfoList(likename);
    }

    @Autowired
    @Override
    public void setBaseMapper() {
        setBaseMapper(recruitInfoMapper);
    }
}
